package com.eoner.baselibrary.bean.personal;

import android.text.TextUtils;

/**
 * 作者：sean
 * 创建时间：2017/7/19 17:31
 * 功能说明：
 */

public class CartPriceBean {
    /**
     * code : 0
     * msg : success
     * data : {"sh_product_count":5,"sh_discount_total":0,"sh_products_price_total":130,"sh_products_pay_total":130}
     * args : {"cart_num":0,"is_vip":0}
     */

    private DataBean data;

    private ArgsBean args;

    public ArgsBean getArgs() {
        return args;
    }

    public void setArgs(ArgsBean args) {
        this.args = args;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * sh_product_count : 5
         * sh_discount_total : 0
         * sh_products_price_total : 130
         * sh_products_pay_total : 130
         */

        private String sh_product_count;
        private String sh_discount_total;
        private String sh_products_price_total;
        private String sh_products_pay_total,sh_integral_total;

        public String getSh_product_count() {
            return sh_product_count;
        }

        public void setSh_product_count(String sh_product_count) {
            this.sh_product_count = sh_product_count;
        }

        public String getSh_discount_total() {
            return sh_discount_total;
        }

        public void setSh_discount_total(String sh_discount_total) {
            this.sh_discount_total = sh_discount_total;
        }

        public String getSh_products_price_total() {
            return sh_products_price_total;
        }

        public void setSh_products_price_total(String sh_products_price_total) {
            this.sh_products_price_total = sh_products_price_total;
        }

        public String getSh_integral_total() {
            return sh_integral_total;
        }

        public void setSh_integral_total(String sh_integral_total) {
            this.sh_integral_total = sh_integral_total;
        }

        public String getSh_products_pay_total() {
            return TextUtils.isEmpty(sh_products_pay_total)?"0.00":sh_products_pay_total;
        }

        public void setSh_products_pay_total(String sh_products_pay_total) {
            this.sh_products_pay_total = sh_products_pay_total;
        }
    }

    public static class ArgsBean {
        /**
         * cart_num : 0
         * is_vip : 0
         */

        private String cart_num;
        private String is_vip;

        public String getCart_num() {
            return cart_num;
        }

        public void setCart_num(String cart_num) {
            this.cart_num = cart_num;
        }

        public String getIs_vip() {
            return is_vip;
        }

        public void setIs_vip(String is_vip) {
            this.is_vip = is_vip;
        }
    }
}
